//
//  SCHeaderCollectionView.h
//  OurMoon
//
//  Created by dllo on 15/11/3.
//  Copyright © 2015年 sc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VideoSidListModel.h"
typedef NS_ENUM(NSInteger, SCCollectionViewKind) {
    SCCollectionViewFlowLayoutByVideo,
    SCCollectionViewFlowLayoutByRadio,
};

//跳转代理
@protocol HeaderViewControllerByVideoDelegate <NSObject>
//视频跳转
- (void)HeaderViewControllerByVideoJump:(VideoSidListModel *)videoSidListModel;
@end
//电台跳转
@protocol HeaderViewControllerByRadioDelegate <NSObject>
//视频跳转
- (void)HeaderViewControllerByRadioJump:(NSString *)string;
@end

@interface SCHeaderCollectionView : UIView<UICollectionViewDataSource, UICollectionViewDelegate, HeaderViewControllerByVideoDelegate>
@property(nonatomic, assign)id<HeaderViewControllerByVideoDelegate>delegate;
@property(nonatomic, assign)id<HeaderViewControllerByRadioDelegate>delegateRadio;
@property(nonatomic, strong)NSMutableArray *dataVideoSidListArray;
@property(nonatomic, strong)NSMutableArray *dataVideoListArray;
@property(nonatomic, strong)UICollectionView *collectionView;
@property(nonatomic, assign)SCCollectionViewKind kind;
- (instancetype)initWithFrame:(CGRect)frame WithType:(SCCollectionViewKind)kind;
@end
